/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package controle;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import modelo.Tema;

/**
 *
 * @author Aluno
 */
@ManagedBean
@RequestScoped
public class TemaMB {

    /**
     * Creates a new instance of TemaMB
     */
    public TemaMB() {
    }
   private Tema tema; 

    public Tema getTema() {
        return tema;
    }

    public void setTema(Tema tema) {
        this.tema = tema;
    }
   
   public void carregarTema(){
   this.tema.setAutor("Mario Sergio Cunha");
   this.tema.setCorfundo("Verde");
   this.tema.setCortitulo("Azul");
   this.tema.setNome("Mario Sergio");
   
   
   
   }
}
